package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/**
 * @version 1.0
 * @auther gwt
 * @date 2021/6/18 22:48
 */
public interface SetmealDao {
    List<CheckGroup> findAll();

    Page<Setmeal> findByCondition(String queryString);

    void add(Setmeal setmeal);

    void setMealIdAndCheckGroupId(Map<String, Integer> map);

    List<Setmeal> getAllSetmeal();

    Setmeal findById(Integer id);


    List<Map<String, Object>> findSetmealCount();
}
